//
//  SQLOperation.h
//  YYWeather
//
//  Created by 姚英 on 16/7/7.
//  Copyright © 2016年 yy. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SQLOperation : NSObject

+ (void)openDB;

// 读操作
+(NSArray *)readCityList:(NSString *)key;
+(NSArray *)readLocationCity;
+(NSArray *)readLastCity;
+(NSArray *)readHotCity;

//写操作
+(BOOL)writeLocationCity:(NSString *)str;
+(BOOL)writeLastCity:(NSString *)str;
//+(BOOL)readCity:(NSString *)city;
+(NSString *)readCity:(NSString *)city;
@end
